--- a/configure.ac
+++ b/configure.ac
@@ -735,7 +735,6 @@ dnl Check if assembler is gas compatible
 have_mips_dspr2=no
 AC_MSG_CHECKING(whether to use MIPS DSPr2 assembler)
 xserver_save_CFLAGS=$CFLAGS
-CFLAGS="-mdspr2 $CFLAGS"
 
 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 #if !(defined(__mips__) &&  __mips_isa_rev >= 2)
